<form 
  action ='<?php echo url_for('usuario_transacao/filter') ?>' 
  id='form_filter_usuario_transacao' 
  name='form_filer_usuario_transacao' 
  method='POST' 
>

<table class="form">
	<tr><th colspan="2" class="title">Filtro</th></tr>
      <tr>
        <th><?php echo $form['ds_produto']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['ds_produto']->render(
        			array(
        				'name' => 'filter[ds_produto]',
        				'value' => $filter->get('ds_produto')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['nu_hora_transacao']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['nu_hora_transacao']->render(
        			array(
        				'name' => 'filter[nu_hora_transacao]',
        				'value' => $filter->get('nu_hora_transacao')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['nu_autorizacao']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['nu_autorizacao']->render(
        			array(
        				'name' => 'filter[nu_autorizacao]',
        				'value' => $filter->get('nu_autorizacao')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['nu_cv']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['nu_cv']->render(
        			array(
        				'name' => 'filter[nu_cv]',
        				'value' => $filter->get('nu_cv')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['nu_valor_bruto']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['nu_valor_bruto']->render(
        			array(
        				'name' => 'filter[nu_valor_bruto]',
        				'value' => $filter->get('nu_valor_bruto')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['nu_total_parcelas']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['nu_total_parcelas']->render(
        			array(
        				'name' => 'filter[nu_total_parcelas]',
        				'value' => $filter->get('nu_total_parcelas')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['id_dados_usuario']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['id_dados_usuario']->render(
        			array(
        				'name' => 'filter[id_dados_usuario]',
        				'value' => $filter->get('id_dados_usuario')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['created_at']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['created_at']->render(
        			array(
        				'name' => 'filter[created_at]',
        				'value' => $filter->get('created_at')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['updated_at']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['updated_at']->render(
        			array(
        				'name' => 'filter[updated_at]',
        				'value' => $filter->get('updated_at')
        			)	
        		)
        	?>
        </td>
      </tr>
	<tr>
		<td colspan="2">
			<input type="submit" value=":: Filtrar ::" />
			&nbsp;
			<?php
			    if($filter->ativo()):
    				echo link_to(
    					':: Limpar ::',
    					$sf_context->getModuleName().'/filter',
    					array('class'=>'botao')
    				);
				endif;
			?>
		</td>
	</tr>
</table>
</form>